﻿@model IEnumerable<TimeManager.Web.ViewModels.UserTotalsViewModel>
@{
    ViewBag.Title = "User Time Totals";
}
<h2>
    User Time Totals</h2>
<table>
    <tr>
        <th>
            Name
        </th>
        <th>
            Hours
        </th>
    </tr>
    @foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.TotalHours)
            </td>
        </tr>
    }
</table>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
